/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2024-06-06
 * Time: 13:37
 */
public class Test {
    public void func(){
        Animal animalCat = new Cat("初一","白色");
        Animal animalDog = new Dog("初二","黑色");
        System.out.println("===================");
        Dog dog = new Dog();
        dog.wangWang("初二");
        System.out.println("===================");
        Cat cat = new Cat();
        cat.miMi("初一");
    }
    public static void main(String[] args) {
        Test test = new Test();
        test.func();
    }
}
